//==============================================================================
// University_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
define CypressA
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressA
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
anim idle
{
   SetSelector
   {
      CultureLogic Egyptian/Greek/Norse/Atlantean/Chinese
      SetSelector
      {
         TechLogic age 3/age 4
         SetSelector
         {              
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
                  Visual building e tradeworkshopage2
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
         }
         SetSelector
         {
            ConstructionLogic 0 50
            set hotspot
            {
               version
               { 
                  Visual building e tradeworkshopage3
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
         }
      }
      SetSelector
      {
         TechLogic age 3/age 4
         SetSelector
         {         
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
Visual Building G TradeWorkshopAge2
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
               }
            }
         }
         SetSelector
         {
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
Visual Building G TradeWorkshopAge3
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
               }
            }
         }
      }
//============================  NORSE  ============================
      SetSelector
      {
         TechLogic age 3/age 4
         SetSelector
         {         
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
Visual Building N TradeWorkshopAge2
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
         }
         SetSelector
         {
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
Visual Building N TradeWorkshopAge3
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
         }
      }
//============================  Atlantean  ============================
      SetSelector
      {
         TechLogic age 3/age 4
         SetSelector
         {
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
						Visual Building X University Age3
						connect righthand Cypressb hotspot
						connect lefthand Cypressb hotspot
						connect rightshoulder CypressA hotspot
						connect leftshoulder CypressA hotspot
						connect leftthigh CypressA hotspot
						connect rightthigh CypressA hotspot
ReplaceTexture building x roof age3/building x roof age3 university
replacetexture building x wall age3/building x wall age3 university
replacetexture building x temple age3/building x university age3
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Large A
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Large B
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
         }
         SetSelector
         {
            ConstructionLogic 0 50
            set hotspot
            {
               version
               { 
						Visual Building X University Age4
						connect righthand Cypressb hotspot
						connect lefthand Cypressb hotspot
						connect rightshoulder CypressA hotspot
						connect leftshoulder CypressA hotspot
						connect leftthigh CypressA hotspot
						connect rightthigh CypressA hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint N_Long_Brick hotspot
		            connect face N_Long_Brick hotspot
		            connect chin N_Medium_Brick hotspot
		            connect leftfoot N_Medium_Brick hotspot
		            connect lefthand N_Small_Brick hotspot
		            connect leftleg N_Small_Brick hotspot
               }
            }
         }
      }
//============================  Chinese  ============================
      SetSelector
      {
         TechLogic age 3/age 4
         SetSelector
         {         
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
                  Visual Building C UniversityAge3
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
               }
            }
         }
         SetSelector
         {
            ConstructionLogic 0 50
            set hotspot
            {
               version
               {
                  Visual Building C Universityage4
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium A
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
		            connect attachpoint G_Long_Brick hotspot
		            connect face G_Long_Brick hotspot
		            connect chin G_Medium_Brick hotspot
		            connect leftfoot G_Medium_Brick hotspot
		            connect lefthand G_Small_Brick hotspot
		            connect leftleg G_Small_Brick hotspot
               }
            }
         }
      }
   }
}
